package com.homework0425.homework05;

public class BookTicektService {

    public static void main(String[] args) {
        Thread ticket1 = new BookTicket();
        ticket1.setName("一号售票处");
        Thread ticket2 = new BookTicket();
        ticket2.setName("二号售票处");
        Thread ticket3 = new BookTicket();
        ticket3.setName("三号售票处");
        Thread ticket4 = new BookTicket();
        ticket4.setName("四号售票处");
        Thread ticket5 = new BookTicket();
        ticket5.setName("五号售票处");

        ticket1.start();
        ticket2.start();
        ticket3.start();
        ticket4.start();
        ticket5.start();





    }

}
